package com.tensquare.recruit.service;


import com.tensquare.entity.Enterprise;
import com.tensquare.recruit.dao.EnterpriseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EnterpriseService {

    @Autowired
    private EnterpriseDao enterpriseDao;

    public List<Enterprise> hotlist(String ishot){

        return enterpriseDao.findByIshot(ishot);
    }


}
